attribute vec4 position;
attribute vec4 texcoord;
attribute vec4 color;

uniform mat4 ModelMatrix;
uniform mat4 ViewMatrix;
uniform mat4 ProjectionMatrix;

varying vec4 V_Color;
varying vec2 V_Texcoord;
void main()
{
  V_Color=color;
  V_Texcoord=vec2(texcoord.xy);
  gl_Position = ProjectionMatrix*ViewMatrix*ModelMatrix*position;
}